package com.yang.paymentdemo.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author yxc
 * @date 2022/1/21
 **/

@Configuration  //配置类
@MapperScan("com.yang.paymentdemo.mapper")  //扫描mapper类
@EnableTransactionManagement  //启用事务管理
public class MybatisPlusConfig {

}
